package com.shelpe.services.lexicon.entity;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

@Data
public class KeywordSource {
	private String itemName;
	private String categoryName;
	private List<String> creativeNames;
	private List<String> attributeNames;
	
	public void addCreativeName(String name){
		if(this.creativeNames == null){
			this.creativeNames = new ArrayList<String>();
		}
		this.creativeNames.add(name);
	}
	
	public void addAttributeName(String name){
		if(this.attributeNames == null){
			this.attributeNames = new ArrayList<String>();
		}
		this.attributeNames.add(name);
	}
}
